package com.banyuan.lesson.对象的比较;

//对象的排序利用的是归并排序，因为这个算法稳定；
public class TestComparator {
    public static void main(String[] args) {
        Cellphone[] arr1 = new Cellphone[] {
                new Cellphone("aaa", 400),
                new Cellphone("bbb", 100),
                new Cellphone("ccc", 200),
                new Cellphone("ddd", 500),
                new Cellphone("eee", 300)
        };
    }
}
